package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * OrderGoods entity. @author MyEclipse Persistence Tools
 */

public class OrderGoods implements java.io.Serializable
{

    // Fields

    private String orderGoodsId;
    private String orderId;
    private String goodsId;
    private Integer goodsNumber;
    private Timestamp goodsUpdateTime;
    private Timestamp orderGoodsAddTime;
    private String commentId;

    // Constructors

    /**
     * default constructor
     */
    public OrderGoods()
    {
    }

    /**
     * minimal constructor
     */
    public OrderGoods(String orderGoodsId, String orderId, String goodsId, Integer goodsNumber, Timestamp goodsUpdateTime, Timestamp orderGoodsAddTime)
    {
        this.orderGoodsId = orderGoodsId;
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsNumber = goodsNumber;
        this.goodsUpdateTime = goodsUpdateTime;
        this.orderGoodsAddTime = orderGoodsAddTime;
    }

    /**
     * full constructor
     */
    public OrderGoods(String orderGoodsId, String orderId, String goodsId, Integer goodsNumber, Timestamp goodsUpdateTime, Timestamp orderGoodsAddTime, String commentId)
    {
        this.orderGoodsId = orderGoodsId;
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsNumber = goodsNumber;
        this.goodsUpdateTime = goodsUpdateTime;
        this.orderGoodsAddTime = orderGoodsAddTime;
        this.commentId = commentId;
    }

    // Property accessors

    public String getOrderGoodsId()
    {
        return this.orderGoodsId;
    }

    public void setOrderGoodsId(String orderGoodsId)
    {
        this.orderGoodsId = orderGoodsId;
    }

    public String getOrderId()
    {
        return this.orderId;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getGoodsId()
    {
        return this.goodsId;
    }

    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsNumber()
    {
        return this.goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber)
    {
        this.goodsNumber = goodsNumber;
    }

    public Timestamp getGoodsUpdateTime()
    {
        return this.goodsUpdateTime;
    }

    public void setGoodsUpdateTime(Timestamp goodsUpdateTime)
    {
        this.goodsUpdateTime = goodsUpdateTime;
    }

    public Timestamp getOrderGoodsAddTime()
    {
        return this.orderGoodsAddTime;
    }

    public void setOrderGoodsAddTime(Timestamp orderGoodsAddTime)
    {
        this.orderGoodsAddTime = orderGoodsAddTime;
    }

    public String getCommentId()
    {
        return this.commentId;
    }

    public void setCommentId(String commentId)
    {
        this.commentId = commentId;
    }

    @Override
    public String toString()
    {
        return "OrderGoods [orderGoodsId=" + orderGoodsId + ", orderId=" + orderId + ", goodsId=" + goodsId + ", goodsNumber=" + goodsNumber + ", goodsUpdateTime=" + goodsUpdateTime + ", orderGoodsAddTime=" + orderGoodsAddTime + ", commentId=" + commentId + "]";
    }

}